package com.github.dengmin.mysql.shiro.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author dengmin
 * @Created 2020/8/14 上午11:10
 */
@Data
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    private static final long serialVersionUID = 1L;
    private String tokenName = "token";

    private String secret = "Fuck_GFW";
    //签发人
    private String issuer;
    //主题
    private String subject;
    //签发目标
    private String audience;

    private Long expireSecond = 3600L;

    private boolean refreshToken = true;

    private Integer refreshTokenCountdown = 600;

    private boolean redisCheck;

    private boolean saltCheck;

}
